Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip exception mangle #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Skip exception mangle #261

wants to merge 1 commit into from

Conversation

haowenwu
Copy link

Fix problem:

Undefined symbols for architecture arm64:
"std::Pod_exception::what() const", referenced from:
vtable for std::__1::bad_function_call in libDemo.a(Demo.o)
"typeinfo for std::Pod_exception", referenced from:
typeinfo for std::__1::bad_function_call in libDemo.a(Demo.o)
"std::Pod_exception::~Pod_exception()", referenced from:
std::__1::bad_function_call::~bad_function_call() in libDemo.a(Demo.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Fix problem:

Undefined symbols for architecture arm64:
      "std::Pod_exception::what() const", referenced from:
          vtable for std::__1::bad_function_call in libDemo.a(Demo.o)
      "typeinfo for std::Pod_exception", referenced from:
          typeinfo for std::__1::bad_function_call in libDemo.a(Demo.o)
      "std::Pod_exception::~Pod_exception()", referenced from:
          std::__1::bad_function_call::~bad_function_call() in libDemo.a(Demo.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant